/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - core/system/io/filesystems
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AEDefaultFileSystemFactory.cpp
// Author:		Gianluca Belardelli
// Date:		10/10/2014
//
/////////////////////////////////////////////////////////////////////////
#include <AECore.h>

AEDefaultFileSystemFactory::AEDefaultFileSystemFactory( void )
{
}

AEFileSystemI *AEDefaultFileSystemFactory::CreateFileSystem( const char *lpNativePath, AEBOOL32 bMakeWritable )
{
	/*
	if( strstr( lpNativePath, ".apk" ) )
		return new AEApkFileSystem( lpNativePath, bMakeWritable );
	else if( strstr( lpNativePath, ".zip" ) )
		return new AEZipFileSystem( lpNativePath, bMakeWritable );
	else if( strstr( lpNativePath, ":\\" ) )
		return new AEDiskFileSystem( lpNativePath, bMakeWritable );
	*/
	if( !strstr( lpNativePath, "." ) )
		return new AEDiskFileSystem( lpNativePath, bMakeWritable );

	return 0L;
}
